$(function(){
	$("form").append("<div id='PageSelect' style='visibility: hidden;'></div>");
	$("#tablebody").on("load","input[name='idArray']",function(){		
		$("#PageSelect").append(this);
	});
	
	$("#tablebody").on("click","input[name='idArray']",function(){		
		var curV=$(this).attr("value");
		
		console.log($(this.outerHTML ));
		if($("#PageSelect input[value='"+curV+"']").length<=0){			
			$("#PageSelect").append(this.outerHTML);
		}
		$("#PageSelect input[value='"+curV+"']").click();
	});
})